/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.lance.testing.person.impl;

import com.lance.testing.person.Person;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Lance
 */
public class PersonImpl implements Person
{
    @Override
    public String getInitials(String firstName, String lastName)
    {
        return firstName.substring(0, 1) + lastName.substring(0, 1);
    }

    @Override
    public void pauseThread()
    {
        try
        {
            Thread.sleep(1000);
        }
        catch (InterruptedException ex)
        {
            Logger.getLogger(PersonImpl.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
